package com.yhp.dao;

import com.yhp.bean.Menu;
import com.yhp.bean.Users;

import java.util.List;

public interface MenuDao {
    //查询菜单列表
    public List<Menu> getMenuList();
    public Menu getMenuById(int menuid);
    public List<Menu> getMenuLists(int pageIndex, int pageSize);
    public int total();
    public int insertMenu(Menu menu);
    public Menu findById(int mid);
    public int updateMenu(Menu menu);
    public int delMenu(int mid);
}
